import s from 'lodash/isArray';
import l from 'lodash/isPlainObject';
import f from 'lodash/isString';
function u(...n) {
  const i = n.length;
  let t = [];
  for (let o = 0; o < i; o++) {
    const e = n[o];
    e &&
      (f(e)
        ? t.push(e)
        : s(e)
          ? (t = t.concat(e))
          : l(e)
            ? (t = t.concat(Object.keys(e).filter(r => e[r])))
            : console.error('arguments must be one of string/array/object.'));
  }
  return [...new Set(t)]
    .flat(1 / 0)
    .filter(Boolean)
    .join(' ');
}
export { u as default };
